﻿
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <meta name="description" content="Admin, Dashboard, Bootstrap" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="shortcut icon" sizes="196x196" href="/assets/images/logo-ico.png">
    <link rel="stylesheet" href="~/libs/bower/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="~/libs/bower/material-design-iconic-font/dist/css/material-design-iconic-font.css">
    <!-- build:css ..//assets/css/app.min.css -->
    <link rel="stylesheet" href="~/libs/bower/animate.css/animate.min.css">
    <link rel="stylesheet" href="~/libs/bower/fullcalendar/dist/fullcalendar.min.css">
    <link rel="stylesheet" href="~/libs/bower/perfect-scrollbar/css/perfect-scrollbar.css">
    <link rel="stylesheet" href="~/assets/css/bootstrap.css">
    <link rel="stylesheet" href="~/assets/css/app.css">
    <link rel="stylesheet" href="~/assets/css/style.css">
</head>

<body class="sb-left">
    <!--============= start main area -->
    <!-- APP ASIDE ==========-->
    <aside id="app-aside" class="app-aside left light color-orange">
        <header class="aside-header">
            <div class="animated">
                <a href="#" id="app-brand" class="app-brand">
                    <img class="logo-index" src="~/assets/images/logo.png">
                </a>
            </div>
        </header><!-- #sidebar-header -->

        <div class="aside-user">
            <!-- aside-user -->
            <div class="media">
                <div class="media-left">
                    <div class="avatar avatar-md avatar-circle">
                        <a href="javascript:void(0)"><img class="img-responsive" src="~/assets/images/221.jpg" alt="avatar" /></a>
                    </div><!-- .avatar -->
                </div>
                <div class="media-body">
                    <div class="foldable">
                        <h5><a href="javascript:void(0)" class="username" id="username"></a></h5>
                        <div class="small"><i id="usercode"></i></div>
                    </div>
                </div>
            </div>
            <!-- /aside-user -->
        </div><!-- #aside-user -->

        <div class="aside-scroll color-gai1">
            <div id="aside-scroll-inner" class="aside-scroll-inner">

                <ul class="aside-menu aside-left-menu color-ul">

                    <li class="menu-item">
                        <a href="/User/Home/Index" class="menu-link">
                            <span class="menu-icon"><i class="zmdi zmdi-home zmdi-hc-lg"></i></span>
                            <span class="menu-text foldable">首页</span>
                        </a>
                    </li><!-- .menu-item -->

                    <li class="menu-item has-submenu">
                        <a href="javascript:void(0)" class="menu-link submenu-toggle">
                            <span class="menu-icon"><i class="zmdi zmdi-layers zmdi-hc-lg"></i></span>
                            <span class="menu-text foldable">账户管理</span>
                            <span class="menu-caret foldable"><i class="zmdi zmdi-hc-sm zmdi-chevron-right"></i></span>
                        </a>
                        <ul class="submenu">
                            <li><a href="/User/ModifyInfo/Index">修改资料</a></li>
                            <li><a href="/User/ModifyPassword/Index">变更密码</a></li>
                        </ul>
                    </li><!-- .menu-item -->

                    <li class="menu-item has-submenu">
                        <a href="javascript:void(0)" class="menu-link submenu-toggle">
                            <span class="menu-icon"><i class="zmdi zmdi-puzzle-piece zmdi-hc-lg"></i></span>
                            <span class="menu-text foldable">会员管理</span>
                            <span class="menu-caret foldable"><i class="zmdi zmdi-hc-sm zmdi-chevron-right"></i></span>
                        </a>
                        <ul class="submenu">
                            <li><a href="/User/ServiceCenter/Index">服务中心申请</a></li>
                            <li><a href="/User/UserUpgrade/Index">会员升级</a></li>
                            <li><a href="/User/Jurisdiction/Index">会员注册</a></li>
                            <li><a href="/User/Activation/Index">会员激活</a></li>
                            <li><a href="/User/NetworkMap/Index">位置网络图</a></li>
                            <li><a href="/User/RefereeMap/Index">推荐关系</a></li>
                        </ul>
                    </li><!-- .menu-item -->
                    @*<li class="menu-item has-submenu">
                            <a href="javascript:void(0)" class="menu-link submenu-toggle">
                                <span class="menu-icon"><i class="zmdi zmdi-storage zmdi-hc-lg"></i></span>
                                <span class="menu-text foldable">奖金管理</span>
                                <span class="menu-caret foldable"><i class="zmdi zmdi-hc-sm zmdi-chevron-right"></i></span>
                            </a>
                            <ul class="submenu">
                                <li><a href="">账户总表</a></li>
                                <li><a href="">奖金明细</a></li>
                                <li><a href="">收支查询</a></li>
                            </ul>
                        </li>*@<!-- .menu-item -->

                    <li class="menu-item has-submenu">
                        <a href="javascript:void(0)" class="menu-link submenu-toggle">
                            <span class="menu-icon"><i class="zmdi zmdi-view-dashboard zmdi-hc-lg"></i></span>
                            <span class="menu-text foldable">财务管理</span>
                            <span class="menu-caret foldable"><i class="zmdi zmdi-hc-sm zmdi-chevron-right"></i></span>
                        </a>
                        <ul class="submenu">
                            <li><a href="/User/VirtualMoney/Index">申请电子币</a></li>
                            <li><a href="/User/RealMoney/Index">申请提现</a></li>
                            <li><a href="/User/UserGiro/Index">内部转账</a></li>
                            <li><a href="/User/MoneyTransfor/Index">内部转换</a></li>
                            <li><a href="/User/Earning/Index">收支查询</a></li>
                        </ul>
                    </li><!-- .menu-item -->
                    <li class="menu-item has-submenu">
                        <a href="javascript:void(0)" class="menu-link submenu-toggle">
                            <span class="menu-icon"><i class="zmdi zmdi-view-dashboard zmdi-hc-lg"></i></span>
                            <span class="menu-text foldable">奖金管理</span>
                            <span class="menu-caret foldable"><i class="zmdi zmdi-hc-sm zmdi-chevron-right"></i></span>
                        </a>
                        <ul class="submenu">
                            <li><a href="/User/Bonus/Detail">奖金明细</a></li>
                        </ul>
                    </li><!-- .menu-item -->
                    @*<li class="menu-item has-submenu">
                            <a href="javascript:void(0)" class="menu-link submenu-toggle">
                                <span class="menu-icon"><i class="zmdi zmdi-flag zmdi-hc-lg"></i></span>
                                <span class="menu-text foldable">商城购物</span>
                                <span class="menu-caret foldable"><i class="zmdi zmdi-hc-sm zmdi-chevron-right"></i></span>
                            </a>
                            <ul class="submenu">
                                <li><a href="/User/ShoppingMall/Index">购物商城</a></li>
                            </ul>
                        </li>*@<!-- .menu-item -->

                    <li class="menu-item has-submenu">
                        <a href="javascript:void(0)" class="menu-link submenu-toggle">
                            <span class="menu-icon"><i class="zmdi zmdi-apps zmdi-hc-lg"></i></span>
                            <span class="menu-text foldable">交流中心</span>
                            <span class="menu-caret foldable"><i class="zmdi zmdi-hc-sm zmdi-chevron-right"></i></span>
                        </a>
                        <ul class="submenu">
                            <li><a href="/User/Notice/Index">公告</a></li>
                            <li><a href="/User/Message/Index">留言</a></li>
                        </ul>
                    </li><!-- .menu-item -->

                    <li class="menu-item has-submenu" onclick="goback()">
                        <a href="javascript:void(0)" class="menu-link submenu-toggle">
                            <span class="menu-icon"><i class="zmdi zmdi-repeat zmdi-hc-lg"></i></span>
                            <span class="menu-text foldable" onclick="goback()">安全退出</span>
                            <span class="menu-caret foldable"><i class="zmdi zmdi-hc-sm zmdi-chevron-right"></i></span>
                        </a>
                    </li><!-- .menu-item -->
                </ul>
            </div><!-- .aside-scroll-inner -->
        </div><!-- #aside-scroll -->
    </aside>
    <!--========== END app aside -->
    <!-- APP NAVBAR ==========-->
    <nav id="app-navbar" class="app-navbar p-l-lg p-r-md primary color-gai">
        <div id="navbar-header" class="pull-left">
            <button id="aside-fold" class="hamburger visible-lg-inline-block hamburger--arrowalt is-active js-hamburger" type="button">
                <span class="hamburger-box">
                    <span class="hamburger-inner"></span>
                </span>
            </button>
            <button id="aside-toggle" class="hamburger hidden-lg hamburger--spin js-hamburger" type="button">
                <span class="hamburger-box">
                    <span class="hamburger-inner"></span>
                </span>
            </button>
            <h5 id="page-title" class="visible-md-inline-block visible-lg-inline-block m-l-md" style="cursor:pointer" onclick="gohome()">系统首页</h5>
            <!-- Button trigger modal -->
        </div>

        <div>
            <ul id="top-nav" class="pull-right">
                <li class="nav-item dropdown hidden-xs">
                    <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                        <span id="msg"></span>
                    </a>
                </li>
                <li class="nav-item dropdown">
                    <a onclick="gopwd()" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i onclick="gopwd()" class="zmdi zmdi-hc-lg zmdi-settings"></i> 修改密码</a>
                </li>
                <li class="nav-item">
                    <a href="javascript:void(0)" class="side-panel-toggle"
                       data-toggle="class"
                       data-target="#side-panel"
                       data-class="open"
                       role="button" onclick="goback()">
                        <i class="zmdi zmdi-hc-lg zmdi-repeat" onclick="goback()"></i> 安全退出
                    </a>
                </li>
            </ul>
        </div>

        <!-- navbar search -->
        <div id="navbar-search" class="navbar-search">
            <form action="#">
                <span class="search-icon"><i class="fa fa-search"></i></span>
                <input class="search-field" type="search" placeholder="search..." />
            </form>
            <button id="search-close" class="search-close">
                <i class="fa fa-close"></i>
            </button>
        </div><!-- END navbar search -->
    </nav>
    <!-- build:js ..//assets/js/core.min.js -->
    <script src="~/scripts/jquery-1.10.2.min.js"></script>
    <script src="~/layer/layer.js"></script>
    <!--========== END app navbar -->
    <!-- APP MAIN ==========-->
    <section>
        @RenderBody()
    </section>
    @RenderSection("scripts", required: false)
    <!--========== END app main -->
    <script src="~/libs/bower/jquery-ui/jquery-ui.min.js"></script>
    <script src="~/libs/bower/jQuery-Storage-API/jquery.storageapi.min.js"></script>
    <script src="~/libs/bower/bootstrap-sass//assets/javascripts/bootstrap.js"></script>
    <script src="~/libs/bower/superfish/dist/js/hoverIntent.js"></script>
    <script src="~/libs/bower/superfish/dist/js/superfish.js"></script>
    <script src="~/libs/bower/jquery-slimscroll/jquery.slimscroll.js"></script>
    <script src="~/libs/bower/perfect-scrollbar/js/perfect-scrollbar.jquery.js"></script>
    <script src="~/libs/bower/PACE/pace.min.js"></script>
    <!-- endbuild -->
    <!-- build:js ..//assets/js/app.min.js -->
    <script src="~/assets/js/library.js"></script>
    <script src="~/assets/js/plugins.js"></script>
    <script src="~/assets/js/app.js"></script>
    <!-- endbuild -->
    <script src="~/libs/bower/moment/moment.js"></script>
    <script src="~/libs/bower/fullcalendar/dist/fullcalendar.min.js"></script>
    <script src="~/assets/js/fullcalendar.js"></script>
    <script src="~/OpenMmsJs/jquery.unobtrusive-ajax.min.js"></script>
</body>
</html>
<script>
    $(function () {
        $.get('/UserSession/GetSession',
            function (data) {
                $('#username').html(data.name);
                $('#usercode').html(data.account);
                $('#msg').html("欢迎您," + data.name);
            });
    })

</script>
<script>
    function gohome() {
        window.location.href = "/User/Home/Index";
    }
    function gopwd() {
        window.location.href = "/User/ModifyPassword/Index";
    }
    function goback() {
        //询问框
        layer.confirm('确定退出系统？', {
            btn: ['确定', '取消'] //按钮
        }, function () {
            $.ajax({
                type: "post",
                url: "/UserSession/Logout"
                }).success(function () {
                    window.location.href = "/Login/Index";
                })
        }, function () {
            layer.close();
        });
    }
</script>



